package com.pacific.sign.dao.utils;

import java.io.Serializable;

/**
 * Created by 1 on 2017/4/25.
 */
public class Limit implements Serializable{

    private static final long serialVersionUID = 2441196155612843700L;

    private int start = 0;

    private int maxRows = -1;

    public Limit(int start) {
        this.start = start;
    }

    public Limit(int start, int maxRows) {
        this.start = start;
        this.maxRows = maxRows;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getMaxRows() {
        return maxRows;
    }

    public void setMaxRows(int maxRows) {
        this.maxRows = maxRows;
    }
}
